<%--
  Created by IntelliJ IDEA.
  User: 19352
  Date: 2020/6/2
  Time: 22:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录失败</title>
</head>
<body>
    <h1>登录失败</h1>
    <hr>
    <p>
    <%
        if(request.getParameter("username").equals(""))
            out.println("用户名为空");
        else if(request.getAttribute("ERROR").equals("用户名不存在"))
            out.println("用户名不存在");
        else
            out.println("密码错误");
    %>
    </p>
    <a href="/index.jsp">返回首页重新登录</a>
</body>
</html>
